'''
/*
 * @Author: wevsmy 
 * @Date: 2017-10-23 17:00:49 
 * @Last Modified by: wevsmy
 * @Last Modified time: 2017-10-23 17:11:09
 */
'''
import os
import time

ret = os.fork()
print(ret)
if ret == 0:
    while True:
        print("----1-----")
        time.sleep(1)
else:
    while True:
        print("----2-----")
        time.sleep(1)